package org.springblade.feign;

import lombok.AllArgsConstructor;
import org.springblade.service.IEquipmentService;
import org.springblade.vo.EquipmentVO;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@AllArgsConstructor
public class NorthClient implements INorthClient {
	@Resource
	IEquipmentService equipmentService;



	/**
	 * 实时推送设备详细状态
	 * @param equipmentVO
	 */
	@Override
    public void pushDeviceStatus(EquipmentVO equipmentVO) {
		equipmentService.pushDeviceStatus(equipmentVO);
    }
}
